Class AntennaImpl

All Implemented Interfaces:
IPCObject, Antenna, Link

public class AntennaImpl extends LinkImpl implements Antenna
Information provided by the PKI file:

    \class Antenna
    
    \brief The Antenna class represents the wireless link.
    
    \example network().getDevice(QString:Wireless Router0).getPort(string:Wireless).getLink()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getPort

      public Port getPort()
      Information provided by the PKI file:
      
          \brief Returns the port object associated with this Antenna.
          
          \return Port, the port object associated with this Antenna.
          
              
      Specified by:
      getPort in interface Antenna
      Returns:
      Port Returns a Port
    • getReceiverCount

      public int getReceiverCount()
      Information provided by the PKI file:
      
          \brief Returns the number of receivers associated with this Antenna.
          
          \return int, the number of receivers associated with this Antenna.
          
              
      Specified by:
      getReceiverCount in interface Antenna
      Returns:
      int Returns a int
    • getReceiverAt

      public Antenna getReceiverAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the Antenna receiver at the specified index.
          
          \param int index, the index of Antenna receiver.
          
          \return Antenna, the Antenna receiver at the specified index.
          
              
      Specified by:
      getReceiverAt in interface Antenna
      Parameters:
      index - Takes in a parameter of index
      Returns:
      Antenna Returns a Antenna